package com.ptu.spzx.model.entity.system;

import com.ptu.spzx.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "系统部门实体类")
@Data
public class SysDept extends BaseEntity {

    @Schema(description = "父节点id")
    private Long parentId;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "部门描述")
    private String description;

    @Schema(description = "部门状态")
    private int status;

    @Schema(description = "子节点")
    private List<SysDept> children;

}
